package ai.people.netmon.framework.domain.gang.construction.request;

import ai.people.netmon.framework.domain.gang.construction.valid.ValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhenglin
 * @since 2022-07-19
 */
@Data
public class LabelLibAccountSaveOrUpdateRequest implements Serializable {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空",groups = ValidationGroup.Update.class)
    private Long id;

    /**
     * 标签ID
     */
    @NotNull(message = "标签ID不能为空")
    private Long labelLibId;

    /**
     * 平台
     */
    @NotBlank(message = "平台不能为空")
    private String platform;

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String account;

    /**
     * 链接
     */
    @NotBlank(message = "链接不能为空")
    private String url;



}
